<?php
function hello() {
  global $a;
  $a = 20;
}

function world() {
  global $a;
  return $a;
}

hello();
echo world();
